package sys.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import sys.entity.RoleEntity;
import sys.entity.TeacherEntity;

import java.util.List;


@Mapper
@Repository
public interface TeacherDao extends BaseDao<TeacherEntity> {

    /**
     * 获取学生数量最多的老师
     * @return
     */
    String getMaxStudentTeacher();

    List<String> getStudentTeacher(Integer num);


    /**
     * 获取学生最多的老师的名字
     * @return
     */
    String getMaxStuTeacher();
    List<String> getMaxStudentNum(Integer num);






}
